package charlie.demo.beetlsql.beetlsql_demo.dao;

import charlie.demo.beetlsql.beetlsql_demo.pojo.Account;
import org.beetl.sql.core.annotatoin.SqlResource;
import org.beetl.sql.core.annotatoin.SqlStatement;
import org.beetl.sql.core.mapper.BaseMapper;
import java.util.List;

@SqlResource("accounts")
public interface AccountDao extends BaseMapper<Account> {

    @SqlStatement(params = "name")
    List<Account> selectAccountByName(String name);
}